package cn.anl.mapper;

import cn.anl.pojo.SysRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface SysRoleMapper {
    SysRole findRoleById(@Param("id") Long id);

    List<SysRole> findRolesByUserId(@Param("userId") Long userId);
}